package com.yike.user.convert;

import com.yike.user.entity.Shop;
import com.yike.common.vo.ShopVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface ShopConvert {

    ShopConvert INSTANCE = Mappers.getMapper(ShopConvert.class);

    ShopVo convert(Shop shop);

    List<ShopVo> convert(List<Shop> shops);

}
